package ua.dogar.sockets;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

public class MyServerSocketThread {
	
	public static void main(String[] args) throws IOException {
		ServerSocket serSock;
		 while(true){
			serSock = new ServerSocket(7843);
			new ServerThread(serSock.accept()).start();
		}
	}

}
